<form id="pagerForm" method="post" action="{:U($module_name.'/'.$action_name."?model=".$model)}">
    <input type="hidden" name="pageNum" value="{$pageNum}" />
    <input type="hidden" name="numPerPage" value="{$numPerPage}" />
    <input type="hidden" name="orderField" value="{$orderField}" />
    <input type="hidden" name="orderDirection" value="{$orderDirection}" />
</form>
<div class="pageHeader">
    <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="{:U($module_name.'/'.$action_name)}" method="post">
        <div class="searchBar">
            <ul class="searchContent">
                <li style="width:200px;">
                <label style="width: 50px;">关键字：</label>
                <input type="text" name="keywords" value="{$keywords}"/>
                </li>
                <li style="padding-top:0;"><div class="buttonActive"><div class="buttonContent"><button type="submit">搜索</button></div></div></li>
            </ul>
        </div>
    </form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="{:U('Article/add')}" target="navTab" ><span>添加</span></a></li>
		</ul>
	</div>
 <table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="94">
            <thead>
	            <tr>
	                <th width="40" > ID</th>
	                <th>问题</th>
	                <th>提问人ID</th>
	                <th>是否解决</th>
	                <th>时间</th>
	                <th>操作</th>
	            </tr>
	            </thead>
	            <tbody>
		            <volist name="list" id="vo">
			            <tr target="sid_dv" rel="{$vo['id']}">
			                <td align="center">{$vo['id']}</td>
			                <td><php>echo strip_tags($vo['content'], '<p><br>');</php><!-- {$vo['content']} --></td>
			                <td>{$vo['user_id']}</td>
			                <td>{$status[$vo['status']]}</td>
			                <td>{$vo['ctime']|date="Y-m-d H:m:s",###}</td>
			                <td><a href="index.php?m=Question&a=edit&id={$vo['id']}" rel="qids{$vo['id']}" target="dialog" width="700" height="600">解答</a></td>
			            </tr>
	            	</volist>
            	</tbody>
        </table>
<div class="panelBar">
	<div class="pages">
		<span>显示</span>
		<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
			<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
			<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
			<option value="66" {if $numPerPage==66}selected="selected"{/if}>66</option>
			<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
			<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			<option value="500" {if $numPerPage==500}selected="selected"{/if}>500</option>
		</select>
		<span>条，共{$totalCount}条 </span>
	</div>
	<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}"></div>
</div>
</div>
